package com.chh.pddomain.award;


import com.chh.config.exception.PdException;
import lombok.Getter;


@Getter
public class AwardNumber {


    private Integer number;

    public AwardNumber(Integer number) {

        if (number < 0) {
            throw new PdException("奖项数量不合法，需大于等于 0");
        }

        this.number = number;
    }

}
